<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>人员名称</label>
              <span>（人员名称，用于前端展示）</span>
              <input class="form-control" name="name" placeholder="请输入人员名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>年龄</label>
              <input class="form-control" name="age" placeholder="请输入年龄" value="{$info['age']|default='0'}" type="text">
            </div>
          </div> 
          
           <div class="col-md-6">
            <div class="form-group">
              <label>邮箱</label>
              <span>（用户邮箱，用于找回密码等安全操作）</span>
              <input class="form-control" name="email" placeholder="请输入邮箱" value="{$info['email']|default=''}" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>手机</label>
              <span>（手机号码，用于找回密码等安全操作）</span>
              <input class="form-control" name="mobile" placeholder="请输入手机号码" value="{$info['mobile']|default=''}" type="text">
            </div>
          </div> 

          <div class="col-md-6">
            <div class="form-group">
              <label>性别</label>
              <select name="sex" class="form-control" placeholder="请输入性别(0:男, 1:女)" value="{$info['sex']|default=''}">
                {notempty name='info'}
                   {if ($info['sex'] == '男')}
                  <option value="0" selected="selected">男</option>
                  <option value="1">女</option>
                  {else}
                  <option value="0">男</option>
                  <option value="1" selected="selected">女</option>
                  {/if}
                  {else/}
                  <option value="0" selected="selected">男</option>
                  <option value="1">女</option>
                {/notempty}
                </select>
            </div>
          </div>

        
          
            
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
      </div>
        
      </div>

</form>